package com.xc.service;

import com.xc.entity.ResultEntity;

import java.util.List;

public interface BaseService<T> {
    ResultEntity add(T t);

    ResultEntity update(T t);

    ResultEntity delete(T t);

    ResultEntity findAll(T t);

    ResultEntity findById(T t);

    ResultEntity getCount(T t);
}
